<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<link type="text/css" rel="stylesheet" href="/${initParam.context_root }/css/tab_cscenter.css">
<link type="text/css" rel="stylesheet" href="/${initParam.context_root }/css/notice.css">
<h1>${requestScope.divideText }</h1>
<h4>${requestScope.divideTextSub }</h4>
<h3>상세내용</h3>
<table>
	<tr>
		<td>${requestScope.cscenter.title }</td>
	</tr>
	<tr>
		<td><a href="/${initParam.context_root }/message/member_profile.do?myId=${sessionScope.login_info.id}&friendId=${requestScope.cscenter.id}">${requestScope.cscenter.nickname }</a> | ${requestScope.cscenter.creDate } | 조회수 : ${requestScope.cscenter.viewCnt }</td>
	</tr>
	<tr>
		<td>${requestScope.cscenter.content }</td>
	</tr>
</table>
<div>
	<c:if test="${requestScope.cscenter.divide=='7'&&sessionScope.login_info.id==requestScope.cscenter.id}">
		<button onclick="javascript:window.location.href='/${initParam.context_root }/cscenter/login/modifyForm.do?no=${requestScope.cscenter.cscenterNo}&page=${requestScope.page }'">수정</button>
	</c:if>
	<button onclick="javascript:window.location.href='/${initParam.context_root }/cscenter/list.do?page=${requestScope.page }&divide=${requestScope.cscenter.divide }'">목록</button>
</div>